<template>
  <router-link to="/">首页</router-link>
  <router-link to="/about">个人中心</router-link>
  <div>
    <button @click="count++">点击增加</button>
    <div>{{ count }}</div>
  </div>

  <router-view></router-view>
</template>

<script setup>
import { ref } from "vue";

const count = ref(0);
const list = ref([
  {
    name: "测试",
    age: 19,
  },
]);
</script>

<style lang="scss" scoped>
</style>